//
//  AppInfo.swift
//  test
//
//  Created by HeHeAdmin on 2019/5/10.
//  Copyright © 2019 HeHeAdmin. All rights reserved.
//

import UIKit

public class AppInfo: NSObject {
     let infoDictionary = Bundle.main.infoDictionary
    
     let appDisplayName: String = Bundle.main.infoDictionary!["CFBundleDisplayName"] as! String //App 名称
    
     let bundleIdentifier:String = Bundle.main.bundleIdentifier! // Bundle Identifier
    
     let appVersion:String = Bundle.main.infoDictionary! ["CFBundleShortVersionString"] as! String// App 版本号
    
     let buildVersion : String = Bundle.main.infoDictionary! ["CFBundleVersion"] as! String //Bulid 版本号
    
     let iOSVersion:String = UIDevice.current.systemVersion //ios 版本
    
     let identifierNumber = UIDevice.current.identifierForVendor //设备 udid
    
     let systemName = UIDevice.current.systemName //设备名称
    
     let model = UIDevice.current.model // 设备型号
    
     let localizedModel = UIDevice.current.localizedModel  //设备区域化型号
}
